package io.github.wppli.infrastructure.persistent.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author lijiaqiang@ljq1024.cc
 * @since 2025-03-15
 */
@Getter
@Setter
@TableName("user_posts_behavior")
public class UserPostsBehavior implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("user_id")
    private Long userId;

    @TableField("posts_id")
    private Long postsId;

    @TableField("behavior_type")
    private String behaviorType;

    /**
     * like-1, COMMENT-3,SHARE-5
     */
    @TableField("score")
    private Float score;

    @TableField("created_at")
    private LocalDateTime createdAt;


}
